package org.doubango.FrCall.Screens;

import org.doubango.FrCall.Engine;
import org.doubango.FrCall.R;
import org.doubango.FrCall.Services.IScreenService;

import android.app.Activity;
import android.content.Intent;
//import android.app.ActivityGroup;
//import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;

public class SearchFriendByNicknamePage extends Activity {
	private Button nicknameToSearchedFriendInfo;
	private IScreenService mScreenService = ((Engine)Engine.getInstance()).getScreenService();
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.search_friend_by_nickname_page);
		nicknameToSearchedFriendInfo = (Button) findViewById(R.id.nickname_to_searched_friend_info);
		
		nicknameToSearchedFriendInfo.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(SearchFriendByNicknamePage.this, ShowSearchedFriendInfo.class);
				startActivity(intent);
//				mScreenService.show(ShowSearchedFriendInfo.class);
			}
		});
	}
	
	
}
